package com.alinesno.cloud.base.boot.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

import com.alibaba.fastjson.annotation.JSONField;
import com.alinesno.cloud.common.facade.orm.entity.BaseEntity;


/**
 * <p>
 * 节假日设置
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2019-12-28 09:39:27
 */
@Proxy(lazy = false)
@Entity
@Table(name="manager_holidays")
public class ManagerHolidaysEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 日期字符
	 */
	@Column(name="holidays_date")
	@JSONField(format="yyyy-MM-dd")
	private Date holidaysDate;
	/**
	 * 是否为节假日(1节假日|0非节假日)
	 */
	private String holidays;


	public Date getHolidaysDate() {
		return holidaysDate;
	}

	public void setHolidaysDate(Date holidaysDate) {
		this.holidaysDate = holidaysDate;
	}

	public String getHolidays() {
		return holidays;
	}

	public void setHolidays(String holidays) {
		this.holidays = holidays;
	}


	@Override
	public String toString() {
		return "ManagerHolidaysEntity{" +
				"holidaysDate=" + holidaysDate +
				", holidays=" + holidays +
				"}";
	}
}
